package com.cn.jinl.api;

import com.cn.jinl.domain.Material;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

/**
 * Created On : 2023/12/5.
 * <p>
 * Author : Huiyan
 * <p>
 * Description: IMaterialService
 */
public interface IMaterialService {
    List<Material> getSingleMaterialSelect() throws Exception;

    List<Material> getAllMaterialList() throws Exception;

    List<Material> getMaterialWithItemName() throws Exception;

    List<Material> getMaterialSelect(QueryForm queryForm) throws Exception;

    String updateMaterial(Material material) throws Exception;

    String deleteMaterial(QueryForm queryForm) throws Exception;

    String addMaterial(List<Material> materials) throws Exception;

    Map<String,List<Material>> getMaterialByGroupBigTypeId()throws Exception;
}
